package com.woniuxy.user.dto;

import lombok.Data;
import java.util.List;

/**
 * 登录响应DTO
 */
@Data
public class LoginResponse {
    
    private boolean success = true;
    private String message;
    private String token;
    private UserInfo userInfo;
    
    @Data
    public static class UserInfo {
        private Long id;
        private String username;
        private String realName;
        private String email;
        private String phone;
        private String avatar;
        private List<String> roles;
    }
}

